package com.jinhongone.pattern.creater.prototype.demo;

public class Test {

    public static void main(String[] args) throws CloneNotSupportedException {
        Realizetype realizetype = new Realizetype();
        Realizetype clone = realizetype.clone();
        System.out.println("clone结果与原对象是否为同一对象：" + (realizetype == clone));
    }
}
